package cn.jinhaze.constant;

/**
 * @author LiZhiHan
 * @date 2025/2/20
 */
public class SexConstant {
	/**
	 * 女生常量
	 */
	public final static Integer WOMEN = 1;

	/**
	 * 男生常量
	 */
	public final static Integer MAN = 2;

	public static String getSexName(Integer sex) {
		if (sex == null) {
			return null;
		}
		if (sex.equals(WOMEN)) {
			return "女";
		}
		if (sex.equals(MAN)) {
			return "男";
		}
		return null;
	}

}
